package com.qf.common;

public enum ExceptionStatus {

    VALICODE_ERROR(1001, "验证有误"),

    UNDEFINE_TOEKN(1002, "token不合法"),

    FAILURE_TOEKN(1003, "token已经失效"),

    AUTH_ERROR(1004, "用户名获密码错误");

    private final int code;

    private final String respMsg;

    ExceptionStatus(int code, String respMsg) {
        this.code = code;
        this.respMsg = respMsg;
    }

    public int getCode() {
        return this.code;
    }

    public String getRespMsg() {
        return this.respMsg;
    }

}
